package com.java1234.entity;

import com.alibaba.fastjson.annotation.JSONField;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
* <p>
* 部门
* </p>
*
* @author Administrator
* @since 2025-05-09
*/
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("bumen")
public class BumenEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
    * 主键
    */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
    * 创建时间
    */
    @TableField("addtime")
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private Date addtime;

    /**
    * 部门
    */
    @TableField("bumen")
    private String bumen;

    @TableField("jixiao")
    private String jixiao;

    @TableField("yuefen")
    private Integer yuefen;

    @TableField("bumenrenshu")
    private String bumenrenshu;


}